const express = require('express')
const path = require('path')

const app = express() 

app.use('/static',express.static('./dist'))

app.get('/',(req,res)=>{
  res.sendfile(path.join(__dirname,'./dist/index.html'))
})

app.listen(3000,()=>{
  console.log('http://127.0.0.1:3000')
})
